package cn.com.bluemoon.daps.sync.vo.model2prod;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Jarod.Kong
 * @date 2021/7/2 10:03
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel(description = "发布同步-查看操作记录")
public class SyncOperRecordOut implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作记录id")
    private String operId;

    @ApiModelProperty(value = "记录内容")
    private String content;

    @ApiModelProperty(value = "记录时间", example = "1970-01-01 00:00:00")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private LocalDateTime recordTime;
}
